package com.sinothk.fc.attend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 考勤配置表
 * @Author: Liangyt
 * @Date:   2022-09-18
 * @Version: V1.0
 */
@Data
@TableName("fc_attend_config")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="fc_attend_config对象", description="考勤配置表")
public class AttendConfigEntity implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**门店ID*/
	@Excel(name = "门店ID", width = 15)
    @ApiModelProperty(value = "门店ID")
    private String storeId;
	/**打卡方式*/
	@Excel(name = "打卡方式", width = 15)
    @ApiModelProperty(value = "打卡方式")
    private Integer attendType;
	/**上班时间*/
	@Excel(name = "上班时间", width = 15)
    @ApiModelProperty(value = "上班时间")
    private Integer enterTime;
	/**下班时间*/
	@Excel(name = "下班时间", width = 15)
    @ApiModelProperty(value = "下班时间")
    private Integer exitTime;
	/**考勤地址*/
	@Excel(name = "考勤地址", width = 15)
    @ApiModelProperty(value = "考勤地址")
    private String configAddress;
	/**考勤纬度*/
	@Excel(name = "考勤纬度", width = 15)
    @ApiModelProperty(value = "考勤纬度")
    private Double configLat;
	/**考勤经度*/
	@Excel(name = "考勤经度", width = 15)
    @ApiModelProperty(value = "考勤经度")
    private Double configLng;
    /**打卡距离限制*/
    @Excel(name = "打卡距离限制", width = 15)
    @ApiModelProperty(value = "打卡距离限制")
    private Integer configDistance;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private String sysOrgCode;
}
